"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var element_plus_1 = require("element-plus");
// 组件属性定义
var props = (0, vue_1.defineProps)({
    modelValue: {
        type: Boolean,
        default: false
    },
    dialogWidth: {
        type: String,
        default: '1000px'
    },
    initialData: {
        type: Object,
        default: function () { return ({}); }
    }
});
// 组件事件定义
var emits = (0, vue_1.defineEmits)([
    'update:modelValue',
    'close',
    'save',
    'submit'
]);
// 内部显示状态
var dialogVisible = (0, vue_1.ref)(props.modelValue);
// 监听v-model双向绑定
(0, vue_1.watch)(function () { return props.modelValue; }, function (newVal) {
    dialogVisible.value = newVal;
});
(0, vue_1.watch)(function () { return dialogVisible.value; }, function (newVal) {
    emits('update:modelValue', newVal);
});
// 当前选中月份（默认当前月）
var currentMonth = (0, vue_1.ref)(function () {
    var now = new Date();
    return "".concat(now.getFullYear(), "-").concat(String(now.getMonth() + 1).padStart(2, '0'));
});
// 月总结默认数据（优先使用initialData，否则用预设值）
var monthSummary = (0, vue_1.ref)(props.initialData.monthSummary ||
    "1. \u672C\u6708\u987A\u5229\u5B8C\u6210\u6708\u5EA6\u9500\u552E\u76EE\u6807\u768490%\uFF0C\u91CD\u70B9\u8DDF\u8FDB\u4E86A\u3001B\u4E24\u4E2A\u5927\u5BA2\u6237\u7684\u5408\u4F5C\u9879\u76EE\uFF0C\u5176\u4E2DA\u5BA2\u6237\u5DF2\u7B7E\u8BA2\u5E74\u5EA6\u5408\u540C\u3002\n2. \u56E2\u961F\u57F9\u8BAD\u6548\u679C\u663E\u8457\uFF0C\u7EC4\u7EC7\u4E863\u573A\u4EA7\u54C1\u77E5\u8BC6\u57F9\u8BAD\uFF0C\u53C2\u4E0E\u7387100%\uFF0C\u5458\u5DE5\u8003\u6838\u5E73\u5747\u5206\u63D0\u534715%\u3002\n3. \u5E02\u573A\u6D3B\u52A8\u65B9\u9762\uFF0C\u672C\u6708\u4E3E\u529E\u7684\u7EBF\u4E0B\u63A8\u5E7F\u6D3B\u52A8\u5171\u83B7\u53D6\u65B0\u5BA2\u623723\u5BB6\uFF0C\u8D85\u51FA\u9884\u671F\u76EE\u6807\u3002\n4. \u5B58\u5728\u95EE\u9898\uFF1A\u90E8\u5206\u533A\u57DF\u5BA2\u6237\u53CD\u9988\u54CD\u5E94\u901F\u5EA6\u8F83\u6162\uFF0C\u4E0B\u6708\u5C06\u4F18\u5316\u5BA2\u670D\u6D41\u7A0B\u3002");
// 本月行程默认数据
var summaryScheduleData = (0, vue_1.ref)([
    {
        week: '第一周',
        content: ((_b = (_a = props.initialData.summarySchedule) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.content) ||
            '1. 参加公司年度战略会议；2. 拜访华东区域重要客户；3. 制定本月销售计划'
    },
    {
        week: '第二周',
        content: ((_d = (_c = props.initialData.summarySchedule) === null || _c === void 0 ? void 0 : _c[1]) === null || _d === void 0 ? void 0 : _d.content) ||
            '1. 组织团队产品培训；2. 跟进A客户合同细节；3. 参加行业展会'
    },
    {
        week: '第三周',
        content: ((_f = (_e = props.initialData.summarySchedule) === null || _e === void 0 ? void 0 : _e[2]) === null || _f === void 0 ? void 0 : _f.content) ||
            '1. 开展线下推广活动；2. 与B客户洽谈合作方案；3. 整理客户反馈数据'
    },
    {
        week: '第四周',
        content: ((_h = (_g = props.initialData.summarySchedule) === null || _g === void 0 ? void 0 : _g[3]) === null || _h === void 0 ? void 0 : _h.content) ||
            '1. 完成月度业绩统计；2. 召开团队总结会议；3. 准备下月工作计划'
    }
]);
// 本月业绩统计默认数据
var summaryPerformanceData = (0, vue_1.ref)([
    {
        name: '本月总计新增客源',
        value: ((_k = (_j = props.initialData.summaryPerformance) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.value) || '45家（其中线上渠道28家，线下活动17家）'
    },
    {
        name: '本月总计新增会员',
        value: ((_m = (_l = props.initialData.summaryPerformance) === null || _l === void 0 ? void 0 : _l[1]) === null || _m === void 0 ? void 0 : _m.value) || '23人（转化率51%）'
    },
    {
        name: '本月总计成交情况',
        value: ((_p = (_o = props.initialData.summaryPerformance) === null || _o === void 0 ? void 0 : _o[2]) === null || _p === void 0 ? void 0 : _p.value) || '12单，总金额86万元（完成月度目标的90%）'
    }
]);
// 下月工作安排默认数据
var nextMonthArrangement = (0, vue_1.ref)(props.initialData.nextMonthArrangement ||
    "1. \u91CD\u70B9\u63A8\u8FDBB\u5BA2\u6237\u7684\u5408\u4F5C\u9879\u76EE\u7B7E\u7EA6\uFF0C\u8BA1\u5212\u6708\u5E95\u524D\u5B8C\u6210\u5408\u540C\u7B7E\u8BA2\u3002\n2. \u4F18\u5316\u5BA2\u6237\u670D\u52A1\u6D41\u7A0B\uFF0C\u5EFA\u7ACB\u5FEB\u901F\u54CD\u5E94\u673A\u5236\uFF0C\u63D0\u5347\u5BA2\u6237\u6EE1\u610F\u5EA6\u3002\n3. \u542F\u52A8\u65B0\u5458\u5DE5\u5165\u804C\u57F9\u8BAD\uFF0C\u4E3A\u671F\u4E00\u5468\uFF0C\u8986\u76D6\u4EA7\u54C1\u77E5\u8BC6\u548C\u9500\u552E\u6280\u5DE7\u3002\n4. \u7B79\u5907\u5B63\u5EA6\u8425\u9500\u6D3B\u52A8\uFF0C\u9884\u7B97\u5DF2\u83B7\u6279\uFF0C\u8BA1\u5212\u4E0B\u6708\u521D\u542F\u52A8\u65B9\u6848\u7B56\u5212\u3002");
// 下月工作计划默认数据
var nextMonthPlanData = (0, vue_1.ref)([
    {
        week: '第一周',
        content: ((_r = (_q = props.initialData.nextMonthPlan) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.content) ||
            '1. 与B客户最终确认合作细节；2. 召开新员工入职会议；3. 制定季度活动策划方案'
    },
    {
        week: '第二周',
        content: ((_t = (_s = props.initialData.nextMonthPlan) === null || _s === void 0 ? void 0 : _s[1]) === null || _t === void 0 ? void 0 : _t.content) ||
            '1. 开展新员工培训；2. 拜访华南区域潜在客户；3. 跟进A客户首单交付'
    },
    {
        week: '第三周',
        content: ((_v = (_u = props.initialData.nextMonthPlan) === null || _u === void 0 ? void 0 : _u[2]) === null || _v === void 0 ? void 0 : _v.content) ||
            '1. 组织客户满意度调研；2. 优化销售流程；3. 准备季度业绩报告'
    },
    {
        week: '第四周',
        content: ((_x = (_w = props.initialData.nextMonthPlan) === null || _w === void 0 ? void 0 : _w[3]) === null || _x === void 0 ? void 0 : _x.content) ||
            '1. 举办季度营销活动；2. 完成月度工作总结；3. 规划下下月重点工作'
    }
]);
// 下月业绩目标默认数据
var nextMonthTargetData = (0, vue_1.ref)([
    {
        name: '下月目标新增客源',
        value: ((_z = (_y = props.initialData.nextMonthTarget) === null || _y === void 0 ? void 0 : _y[0]) === null || _z === void 0 ? void 0 : _z.value) || '50家（线上渠道占比60%以上）'
    },
    {
        name: '下月目标新增会员',
        value: ((_1 = (_0 = props.initialData.nextMonthTarget) === null || _0 === void 0 ? void 0 : _0[1]) === null || _1 === void 0 ? void 0 : _1.value) || '30人（转化率提升至55%）'
    },
    {
        name: '下月目标成交情况',
        value: ((_3 = (_2 = props.initialData.nextMonthTarget) === null || _2 === void 0 ? void 0 : _2[2]) === null || _3 === void 0 ? void 0 : _3.value) || '15单，总金额突破100万元'
    }
]);
// 加载月份数据
var loadMonthData = function (month) {
    if (!month)
        return;
    element_plus_1.ElMessage.info("\u6B63\u5728\u52A0\u8F7D ".concat(month, " \u7684\u6570\u636E..."));
    // 实际项目中可替换为接口请求
};
// 保存表单
var saveForm = function () {
    var formData = {
        month: currentMonth.value,
        monthSummary: monthSummary.value,
        summarySchedule: summaryScheduleData.value,
        summaryPerformance: summaryPerformanceData.value,
        nextMonthArrangement: nextMonthArrangement.value,
        nextMonthPlan: nextMonthPlanData.value,
        nextMonthTarget: nextMonthTargetData.value
    };
    emits('save', formData);
    element_plus_1.ElMessage.success('数据已保存');
};
// 提交表单
var submitForm = function () {
    if (!monthSummary.value.trim()) {
        element_plus_1.ElMessage.warning('请填写本月工作小结');
        return;
    }
    var formData = {
        month: currentMonth.value,
        monthSummary: monthSummary.value,
        summarySchedule: summaryScheduleData.value,
        summaryPerformance: summaryPerformanceData.value,
        nextMonthArrangement: nextMonthArrangement.value,
        nextMonthPlan: nextMonthPlanData.value,
        nextMonthTarget: nextMonthTargetData.value
    };
    emits('submit', formData);
    element_plus_1.ElMessage.success('数据已提交');
};
// 重置表单
var resetForm = function () {
    element_plus_1.ElMessageBox.confirm('确定要重置所有内容吗？', '确认重置', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        var _a, _b, _c, _d, _e, _f, _g, _h;
        // 重置为默认数据
        monthSummary.value = props.initialData.monthSummary || monthSummary.value;
        nextMonthArrangement.value = props.initialData.nextMonthArrangement || nextMonthArrangement.value;
        summaryScheduleData.value = [
            { week: '第一周', content: ((_b = (_a = props.initialData.summarySchedule) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.content) || summaryScheduleData.value[0].content },
            { week: '第二周', content: ((_d = (_c = props.initialData.summarySchedule) === null || _c === void 0 ? void 0 : _c[1]) === null || _d === void 0 ? void 0 : _d.content) || summaryScheduleData.value[1].content },
            { week: '第三周', content: ((_f = (_e = props.initialData.summarySchedule) === null || _e === void 0 ? void 0 : _e[2]) === null || _f === void 0 ? void 0 : _f.content) || summaryScheduleData.value[2].content },
            { week: '第四周', content: ((_h = (_g = props.initialData.summarySchedule) === null || _g === void 0 ? void 0 : _g[3]) === null || _h === void 0 ? void 0 : _h.content) || summaryScheduleData.value[3].content }
        ];
        // 其他数据重置...
        element_plus_1.ElMessage.info('表单已重置');
    });
};
// 关闭弹窗
var handleCancel = function () {
    dialogVisible.value = false;
    emits('close');
};
// 弹窗关闭前回调
var handleBeforeClose = function (done) {
    element_plus_1.ElMessageBox.confirm('确定要关闭吗？未保存的数据将丢失', '确认关闭', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'info'
    }).then(function () {
        done();
        emits('close');
    }).catch(function () { });
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign(__assign(__assign(__assign({}, {}), {}), {}), {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['content-input']} */ ;
/** @type {__VLS_StyleScopedClasses['summary-input']} */ ;
var __VLS_0 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
    modelValue: (__VLS_ctx.dialogVisible),
    title: "月总结与下月计划",
    width: (__VLS_ctx.dialogWidth),
    beforeClose: (__VLS_ctx.handleBeforeClose),
    destroyOnClose: true,
}));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.dialogVisible),
        title: "月总结与下月计划",
        width: (__VLS_ctx.dialogWidth),
        beforeClose: (__VLS_ctx.handleBeforeClose),
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4 = {};
var __VLS_5 = __VLS_3.slots.default;
// @ts-ignore
[dialogVisible, dialogWidth, handleBeforeClose,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "date-picker-container" }));
var __VLS_6 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.currentMonth), type: "month", format: "YYYY年MM月", valueFormat: "YYYY-MM", placeholder: "选择月份" })));
var __VLS_8 = __VLS_7.apply(void 0, __spreadArray([__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.currentMonth), type: "month", format: "YYYY年MM月", valueFormat: "YYYY-MM", placeholder: "选择月份" })], __VLS_functionalComponentArgsRest(__VLS_7), false));
var __VLS_10;
var __VLS_11;
var __VLS_12 = ({ change: {} },
    { onChange: (__VLS_ctx.loadMonthData) });
// @ts-ignore
[currentMonth, loadMonthData,];
var __VLS_9;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "section" }));
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "section-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_14 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14(__assign({ data: (__VLS_ctx.summaryScheduleData), border: true }, { class: "schedule-table" })));
var __VLS_16 = __VLS_15.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.summaryScheduleData), border: true }, { class: "schedule-table" })], __VLS_functionalComponentArgsRest(__VLS_15), false));
var __VLS_18 = __VLS_17.slots.default;
// @ts-ignore
[summaryScheduleData,];
var __VLS_19 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_20 = __VLS_asFunctionalComponent(__VLS_19, new __VLS_19({
    label: "周次",
    prop: "week",
    width: "80",
    align: "center",
}));
var __VLS_21 = __VLS_20.apply(void 0, __spreadArray([{
        label: "周次",
        prop: "week",
        width: "80",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_20), false));
var __VLS_24 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({
    label: "行程内容",
}));
var __VLS_26 = __VLS_25.apply(void 0, __spreadArray([{
        label: "行程内容",
    }], __VLS_functionalComponentArgsRest(__VLS_25), false));
var __VLS_28 = __VLS_27.slots.default;
{
    var __VLS_29 = __VLS_27.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_29)[0];
    var __VLS_30 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30(__assign({ modelValue: (scope.row.content), type: "textarea", placeholder: "请输入行程内容", resize: "none" }, { class: "content-input" })));
    var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.content), type: "textarea", placeholder: "请输入行程内容", resize: "none" }, { class: "content-input" })], __VLS_functionalComponentArgsRest(__VLS_31), false));
}
var __VLS_27;
var __VLS_17;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_35 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35(__assign({ data: (__VLS_ctx.summaryPerformanceData), border: true }, { class: "performance-table" })));
var __VLS_37 = __VLS_36.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.summaryPerformanceData), border: true }, { class: "performance-table" })], __VLS_functionalComponentArgsRest(__VLS_36), false));
var __VLS_39 = __VLS_38.slots.default;
// @ts-ignore
[summaryPerformanceData,];
var __VLS_40 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_41 = __VLS_asFunctionalComponent(__VLS_40, new __VLS_40({
    label: "统计项",
    prop: "name",
    width: "180",
    align: "center",
}));
var __VLS_42 = __VLS_41.apply(void 0, __spreadArray([{
        label: "统计项",
        prop: "name",
        width: "180",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_41), false));
var __VLS_45 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45({
    label: "数量/详情",
}));
var __VLS_47 = __VLS_46.apply(void 0, __spreadArray([{
        label: "数量/详情",
    }], __VLS_functionalComponentArgsRest(__VLS_46), false));
var __VLS_49 = __VLS_48.slots.default;
{
    var __VLS_50 = __VLS_48.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_50)[0];
    var __VLS_51 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51(__assign({ modelValue: (scope.row.value), placeholder: "请输入数量或详情" }, { class: "content-input" })));
    var __VLS_53 = __VLS_52.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.value), placeholder: "请输入数量或详情" }, { class: "content-input" })], __VLS_functionalComponentArgsRest(__VLS_52), false));
}
var __VLS_48;
var __VLS_38;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_56 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_57 = __VLS_asFunctionalComponent(__VLS_56, new __VLS_56(__assign({ modelValue: (__VLS_ctx.monthSummary), type: "textarea", rows: (4), placeholder: "请输入本月工作小结" }, { class: "summary-input" })));
var __VLS_58 = __VLS_57.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.monthSummary), type: "textarea", rows: (4), placeholder: "请输入本月工作小结" }, { class: "summary-input" })], __VLS_functionalComponentArgsRest(__VLS_57), false));
// @ts-ignore
[monthSummary,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "section" }));
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "section-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_61 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61(__assign({ data: (__VLS_ctx.nextMonthPlanData), border: true }, { class: "plan-table" })));
var __VLS_63 = __VLS_62.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.nextMonthPlanData), border: true }, { class: "plan-table" })], __VLS_functionalComponentArgsRest(__VLS_62), false));
var __VLS_65 = __VLS_64.slots.default;
// @ts-ignore
[nextMonthPlanData,];
var __VLS_66 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_67 = __VLS_asFunctionalComponent(__VLS_66, new __VLS_66({
    label: "周次",
    prop: "week",
    width: "80",
    align: "center",
}));
var __VLS_68 = __VLS_67.apply(void 0, __spreadArray([{
        label: "周次",
        prop: "week",
        width: "80",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_67), false));
var __VLS_71 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_72 = __VLS_asFunctionalComponent(__VLS_71, new __VLS_71({
    label: "计划内容",
}));
var __VLS_73 = __VLS_72.apply(void 0, __spreadArray([{
        label: "计划内容",
    }], __VLS_functionalComponentArgsRest(__VLS_72), false));
var __VLS_75 = __VLS_74.slots.default;
{
    var __VLS_76 = __VLS_74.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_76)[0];
    var __VLS_77 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_78 = __VLS_asFunctionalComponent(__VLS_77, new __VLS_77(__assign({ modelValue: (scope.row.content), type: "textarea", placeholder: "请输入计划内容", resize: "none" }, { class: "content-input" })));
    var __VLS_79 = __VLS_78.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.content), type: "textarea", placeholder: "请输入计划内容", resize: "none" }, { class: "content-input" })], __VLS_functionalComponentArgsRest(__VLS_78), false));
}
var __VLS_74;
var __VLS_64;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_82 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_83 = __VLS_asFunctionalComponent(__VLS_82, new __VLS_82(__assign({ data: (__VLS_ctx.nextMonthTargetData), border: true }, { class: "target-table" })));
var __VLS_84 = __VLS_83.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.nextMonthTargetData), border: true }, { class: "target-table" })], __VLS_functionalComponentArgsRest(__VLS_83), false));
var __VLS_86 = __VLS_85.slots.default;
// @ts-ignore
[nextMonthTargetData,];
var __VLS_87 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87({
    label: "目标项",
    prop: "name",
    width: "180",
    align: "center",
}));
var __VLS_89 = __VLS_88.apply(void 0, __spreadArray([{
        label: "目标项",
        prop: "name",
        width: "180",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_88), false));
var __VLS_92 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_93 = __VLS_asFunctionalComponent(__VLS_92, new __VLS_92({
    label: "目标值/详情",
}));
var __VLS_94 = __VLS_93.apply(void 0, __spreadArray([{
        label: "目标值/详情",
    }], __VLS_functionalComponentArgsRest(__VLS_93), false));
var __VLS_96 = __VLS_95.slots.default;
{
    var __VLS_97 = __VLS_95.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_97)[0];
    var __VLS_98 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_99 = __VLS_asFunctionalComponent(__VLS_98, new __VLS_98(__assign({ modelValue: (scope.row.value), placeholder: "请输入目标值或详情" }, { class: "content-input" })));
    var __VLS_100 = __VLS_99.apply(void 0, __spreadArray([__assign({ modelValue: (scope.row.value), placeholder: "请输入目标值或详情" }, { class: "content-input" })], __VLS_functionalComponentArgsRest(__VLS_99), false));
}
var __VLS_95;
var __VLS_85;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sub-section" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sub-title" }));
var __VLS_103 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_104 = __VLS_asFunctionalComponent(__VLS_103, new __VLS_103(__assign({ modelValue: (__VLS_ctx.nextMonthArrangement), type: "textarea", rows: (4), placeholder: "请输入下月工作安排" }, { class: "summary-input" })));
var __VLS_105 = __VLS_104.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.nextMonthArrangement), type: "textarea", rows: (4), placeholder: "请输入下月工作安排" }, { class: "summary-input" })], __VLS_functionalComponentArgsRest(__VLS_104), false));
// @ts-ignore
[nextMonthArrangement,];
{
    var __VLS_108 = __VLS_3.slots.footer;
    var __VLS_109 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_110 = __VLS_asFunctionalComponent(__VLS_109, new __VLS_109(__assign({ 'onClick': {} })));
    var __VLS_111 = __VLS_110.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_110), false));
    var __VLS_113 = void 0;
    var __VLS_114 = void 0;
    var __VLS_115 = ({ click: {} },
        { onClick: (__VLS_ctx.handleCancel) });
    var __VLS_116 = __VLS_112.slots.default;
    // @ts-ignore
    [handleCancel,];
    var __VLS_112;
    var __VLS_117 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_118 = __VLS_asFunctionalComponent(__VLS_117, new __VLS_117(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_119 = __VLS_118.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_118), false));
    var __VLS_121 = void 0;
    var __VLS_122 = void 0;
    var __VLS_123 = ({ click: {} },
        { onClick: (__VLS_ctx.saveForm) });
    var __VLS_124 = __VLS_120.slots.default;
    // @ts-ignore
    [saveForm,];
    var __VLS_120;
    var __VLS_125 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125(__assign({ 'onClick': {} }, { type: "success" })));
    var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "success" })], __VLS_functionalComponentArgsRest(__VLS_126), false));
    var __VLS_129 = void 0;
    var __VLS_130 = void 0;
    var __VLS_131 = ({ click: {} },
        { onClick: (__VLS_ctx.submitForm) });
    var __VLS_132 = __VLS_128.slots.default;
    // @ts-ignore
    [submitForm,];
    var __VLS_128;
    var __VLS_133 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_134 = __VLS_asFunctionalComponent(__VLS_133, new __VLS_133(__assign({ 'onClick': {} }, { type: "warning" })));
    var __VLS_135 = __VLS_134.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning" })], __VLS_functionalComponentArgsRest(__VLS_134), false));
    var __VLS_137 = void 0;
    var __VLS_138 = void 0;
    var __VLS_139 = ({ click: {} },
        { onClick: (__VLS_ctx.resetForm) });
    var __VLS_140 = __VLS_136.slots.default;
    // @ts-ignore
    [resetForm,];
    var __VLS_136;
}
var __VLS_3;
/** @type {__VLS_StyleScopedClasses['date-picker-container']} */ ;
/** @type {__VLS_StyleScopedClasses['section']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['schedule-table']} */ ;
/** @type {__VLS_StyleScopedClasses['content-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['performance-table']} */ ;
/** @type {__VLS_StyleScopedClasses['content-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['summary-input']} */ ;
/** @type {__VLS_StyleScopedClasses['section']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['plan-table']} */ ;
/** @type {__VLS_StyleScopedClasses['content-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['target-table']} */ ;
/** @type {__VLS_StyleScopedClasses['content-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sub-title']} */ ;
/** @type {__VLS_StyleScopedClasses['summary-input']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({
    emits: {},
    props: {
        modelValue: {
            type: Boolean,
            default: false
        },
        dialogWidth: {
            type: String,
            default: '1000px'
        },
        initialData: {
            type: Object,
            default: function () { return ({}); }
        }
    },
});
exports.default = {};
